home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / libs / phigs / ptk.lha / ptk / library / makefile.a next >
Encoding:
Makefile  |  1992-06-18  |  1.5 KB  |  92 lines

  1. #
  2. # makefile for the PHIGS Toolkit library.
  3. # J.G. Williams 14/12/90
  4. #
  5.  
  6. CC = cc
  7.  
  8. OBJECTS = tran.o hash.o plib.o cns.o menu.o phin.o topo.o \
  9.           stct.o misc.o tsl.o wind.o dbug.o view.o
  10.  
  11. SRCDIR = ../source/library/
  12.  
  13. #DBG = -g
  14. DBG = 
  15.  
  16. PHIGSINCDIR = $(PHIGSHOME)/include/phigs
  17.  
  18. CFLAGS = $(DBG) -DSUN -I../include \
  19. -I$(PHIGSINCDIR) -I$(OPENWINHOME)/include
  20.  
  21. libptk.a: libptk.a($(OBJECTS))
  22.     ar rv $@ $?
  23.     ranlib $@
  24.  
  25. libptk.a(tran.o): tran.o
  26.  
  27. tran.o: $(SRCDIR)tran.c
  28.     $(COMPILE.c) $(SRCDIR)tran.c
  29.  
  30. libptk.a(hash.o): hash.o
  31.  
  32. hash.o: $(SRCDIR)hash.c
  33.     $(COMPILE.c) $(SRCDIR)hash.c
  34.  
  35. libptk.a(plib.o): plib.o
  36.  
  37. plib.o: $(SRCDIR)plib.c
  38.     $(COMPILE.c) $(SRCDIR)plib.c
  39.  
  40. libptk.a(cns.o): cns.o
  41.  
  42. cns.o: $(SRCDIR)cns.c
  43.     $(COMPILE.c) $(SRCDIR)cns.c
  44.  
  45. libptk.a(menu.o): menu.o
  46.  
  47. menu.o: $(SRCDIR)menu.c
  48.     $(COMPILE.c) $(SRCDIR)menu.c
  49.  
  50. libptk.a(phin.o): phin.o
  51.  
  52. phin.o: $(SRCDIR)phin.c
  53.     $(COMPILE.c) $(SRCDIR)phin.c
  54.  
  55. libptk.a(topo.o): topo.o
  56.  
  57. topo.o: $(SRCDIR)topo.c
  58.     $(COMPILE.c) $(SRCDIR)topo.c
  59.  
  60. libptk.a(stct.o): stct.o
  61.  
  62. stct.o: $(SRCDIR)stct.c
  63.     $(COMPILE.c) $(SRCDIR)stct.c
  64.  
  65. libptk.a(misc.o): misc.o
  66.  
  67. misc.o: $(SRCDIR)misc.c
  68.     $(COMPILE.c) $(SRCDIR)misc.c
  69.  
  70. libptk.a(tsl.o): tsl.o
  71.  
  72. tsl.o: $(SRCDIR)tsl.c
  73.     $(COMPILE.c) $(SRCDIR)tsl.c
  74.  
  75. libptk.a(wind.o): wind.o
  76.  
  77. wind.o: $(SRCDIR)wind.c
  78.     $(COMPILE.c) $(SRCDIR)wind.c
  79.  
  80. libptk.a(dbug.o): dbug.o
  81.  
  82. dbug.o: $(SRCDIR)dbug.c
  83.     $(COMPILE.c) $(SRCDIR)dbug.c
  84.  
  85. libptk.a(view.o): view.o
  86.  
  87. view.o: $(SRCDIR)view.c
  88.     $(COMPILE.c) $(SRCDIR)view.c
  89.  
  90. clean:
  91.     rm -f $(OBJECTS)
  92.